package org.jeecg.demo.wx.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import org.jeecg.demo.wx.util.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description = "计划查询对象")
public class QueryTaskDto extends PageParam {

    @NotBlank
    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "开始时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "结束时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(value = "查询状态 0-未查收；10-未完成；60-超期；20-已完成")
    private String status;

    @ApiModelProperty(value = "工作处理任务/日程判断10-日程，20-任务，只用在工作处理接口!")
    private String type;
}
